package com.hzhr.iot.user.sdk.model.dept;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "DeptPostModel", description = "部门模型(新增)")
public class DeptPostModel {
    @ApiModelProperty(value = "说明 : 部门名称", required = true)
    @CygProperty(show = "", entityProp = "name")
    private String name;
    @ApiModelProperty(value = "说明 : 上级部门编号(关联 : user_service.dept.id)", required = true)
    @CygProperty(show = "", entityProp = "parentId")
    private Integer parentId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
}

